<template>
  <div>
    <!-- card -->
    <el-card class="box-card">
      <!-- tabs -->
      <el-tabs v-model="activeName">
        <el-tab-pane label="用户管理" name="first">
          <!-- table -->
          <companyTable />
        </el-tab-pane>
        <el-tab-pane label="配置管理" name="second">
          <!-- form -->
          <companyInfo />
        </el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'Setting',
  components: {
    companyInfo: () => import('@/views/setting/component/companyInfo.vue'),
    companyTable: () => import('@/views/setting/component/companyTable.vue')
  },
  data() {
    return {
      activeName: 'first'
    }
  }
}
</script>

<style></style>
